﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace PddHelper.Framework
{
    /// <summary>
    /// 
    /// </summary>
    public class LoginUserCache
    {
        /// <summary>
        /// 主键 
        ///</summary>
        public static int userid { get; set; }

        /// <summary>
        /// 0-不详 1-普通用户 2-代理商 3-管理员 4-超级管理员 
        ///</summary>
        public static PddHelper.Enum.UserType UserType { get; set; }

        /// <summary>
        /// 登录token 
        ///</summary>
        public static string login_token { get; set; }

        /// <summary>
        /// token过期时间 
        ///</summary>
        public static DateTime login_token_exp { get; set; }

        /// <summary>
        /// 用户名 
        ///</summary>
        public static string user_name { get; set; }

        /// <summary>
        /// 会员到期时间 
        ///</summary>
        public static DateTime? vip_exptime { get; set; }

        /// <summary>
        /// 点卡余额 
        ///</summary>
        public static int? point_balance { get; set; }
    }
}
